package cn.stylefeng.guns.modular.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import cn.stylefeng.guns.modular.entity.IdjUser;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author TANGWJ
 * @since 2020-07-30
 */
public interface IdjUserMapper extends BaseMapper<IdjUser> {

    Page<Map<String, Object>> getList(Page page, @Param("userName") String userName, @Param("personal") Integer personal, @Param("company") String company, @Param("beginTime") String beginTime, @Param("endTime") String endTime);

    IdjUser selectByUserId(@Param("userId") Long userId);
    
    IdjUser selectByKeyId(@Param("userName") String userName);
    
    int setStatus(IdjUser user);
    
    List<Long> selectUnsealUser();

}
